<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户列表</title>
</head>
<body>
<table>
    <tr>
        <th>ID</th>
        <th>姓名</th>
        <th>年龄</th>
    </tr>
    #for(user : pageData.list )
    <tr>
        <td>#(user.id)</td>
        <td>#(user.name)</td>
        <td>#(user.age)</td>
        <td>
            <a href="/user/add?id=#(user.id)">修改</a>&nbsp;
            <a href="/user/delUser?id=#(user.id)">删除</a>
        </td>
    </tr>
    #end
</table>
#Paginate()
#for(page : pages)
<a href="#(page.url??)">#(page.text??)</a>
#end
#end
<div>
    <a href="/user/add">添加用户</a>
</div>
</body>
</html>